package com.homedo.odin.solution.contract.mng;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.homedo.odin.solution.model.base.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;

/**
 * Created by liyi on 2018/5/17.
 */
@ApiModel(description = "方案排行榜列表")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class SolutionRankListReq extends BaseRequest {

    @ApiModelProperty("方案排行榜")
    @Size(min = 1, message = "方案排行榜列表不能为空")
    @Valid
    private List<SolutionRankReq> list;

    /**
     * 最近修改用户标识
     */
    @ApiModelProperty("修改人")
    @NotNull(message = "修改人不能为空")
    private Long modifiedBy;

    /**
     * 操作人
     */
    @ApiModelProperty("操作人")
    @NotNull(message = "操作人不能为空")
    private String operator;

}
